package org.hxyjs.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class OrderRecords implements Serializable {
    private String ushOrno;

    private String uno;

    private String shno;

    private String cotno;

    private Date ushOrstartdate;

    private Date ushOrenddate;

    private String ushOrreq;

    private String ushOrprice;

    private String ushOrpay;

    private String ushOrstate;

    private String ushOrdesc;

    private String ushOramount;

    private static final long serialVersionUID = 1L;

    public String getUshOrno() {
        return ushOrno;
    }

    public void setUshOrno(String ushOrno) {
        this.ushOrno = ushOrno;
    }

    public String getUno() {
        return uno;
    }

    public void setUno(String uno) {
        this.uno = uno;
    }

    public String getShno() {
        return shno;
    }

    public void setShno(String shno) {
        this.shno = shno;
    }

    public String getCotno() {
        return cotno;
    }

    public void setCotno(String cotno) {
        this.cotno = cotno;
    }

    public Date getUshOrstartdate() {
        return ushOrstartdate;
    }

    public void setUshOrstartdate(Date ushOrstartdate) {
        this.ushOrstartdate = ushOrstartdate;
    }

    public Date getUshOrenddate() {
        return ushOrenddate;
    }

    public void setUshOrenddate(Date ushOrenddate) {
        this.ushOrenddate = ushOrenddate;
    }

    public String getUshOrreq() {
        return ushOrreq;
    }

    public void setUshOrreq(String ushOrreq) {
        this.ushOrreq = ushOrreq;
    }

    public String getUshOrprice() {
        return ushOrprice;
    }

    public void setUshOrprice(String ushOrprice) {
        this.ushOrprice = ushOrprice;
    }

    public String getUshOrpay() {
        return ushOrpay;
    }

    public void setUshOrpay(String ushOrpay) {
        this.ushOrpay = ushOrpay;
    }

    public String getUshOrstate() {
        return ushOrstate;
    }

    public void setUshOrstate(String ushOrstate) {
        this.ushOrstate = ushOrstate;
    }

    public String getUshOrdesc() {
        return ushOrdesc;
    }

    public void setUshOrdesc(String ushOrdesc) {
        this.ushOrdesc = ushOrdesc;
    }

    public String getUshOramount() {
        return ushOramount;
    }

    public void setUshOramount(String ushOramount) {
        this.ushOramount = ushOramount;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        OrderRecords other = (OrderRecords) that;
        return (this.getUshOrno() == null ? other.getUshOrno() == null : this.getUshOrno().equals(other.getUshOrno()))
            && (this.getUno() == null ? other.getUno() == null : this.getUno().equals(other.getUno()))
            && (this.getShno() == null ? other.getShno() == null : this.getShno().equals(other.getShno()))
            && (this.getCotno() == null ? other.getCotno() == null : this.getCotno().equals(other.getCotno()))
            && (this.getUshOrstartdate() == null ? other.getUshOrstartdate() == null : this.getUshOrstartdate().equals(other.getUshOrstartdate()))
            && (this.getUshOrenddate() == null ? other.getUshOrenddate() == null : this.getUshOrenddate().equals(other.getUshOrenddate()))
            && (this.getUshOrreq() == null ? other.getUshOrreq() == null : this.getUshOrreq().equals(other.getUshOrreq()))
            && (this.getUshOrprice() == null ? other.getUshOrprice() == null : this.getUshOrprice().equals(other.getUshOrprice()))
            && (this.getUshOrpay() == null ? other.getUshOrpay() == null : this.getUshOrpay().equals(other.getUshOrpay()))
            && (this.getUshOrstate() == null ? other.getUshOrstate() == null : this.getUshOrstate().equals(other.getUshOrstate()))
            && (this.getUshOrdesc() == null ? other.getUshOrdesc() == null : this.getUshOrdesc().equals(other.getUshOrdesc()))
            && (this.getUshOramount() == null ? other.getUshOramount() == null : this.getUshOramount().equals(other.getUshOramount()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getUshOrno() == null) ? 0 : getUshOrno().hashCode());
        result = prime * result + ((getUno() == null) ? 0 : getUno().hashCode());
        result = prime * result + ((getShno() == null) ? 0 : getShno().hashCode());
        result = prime * result + ((getCotno() == null) ? 0 : getCotno().hashCode());
        result = prime * result + ((getUshOrstartdate() == null) ? 0 : getUshOrstartdate().hashCode());
        result = prime * result + ((getUshOrenddate() == null) ? 0 : getUshOrenddate().hashCode());
        result = prime * result + ((getUshOrreq() == null) ? 0 : getUshOrreq().hashCode());
        result = prime * result + ((getUshOrprice() == null) ? 0 : getUshOrprice().hashCode());
        result = prime * result + ((getUshOrpay() == null) ? 0 : getUshOrpay().hashCode());
        result = prime * result + ((getUshOrstate() == null) ? 0 : getUshOrstate().hashCode());
        result = prime * result + ((getUshOrdesc() == null) ? 0 : getUshOrdesc().hashCode());
        result = prime * result + ((getUshOramount() == null) ? 0 : getUshOramount().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", ushOrno=").append(ushOrno);
        sb.append(", uno=").append(uno);
        sb.append(", shno=").append(shno);
        sb.append(", cotno=").append(cotno);
        sb.append(", ushOrstartdate=").append(ushOrstartdate);
        sb.append(", ushOrenddate=").append(ushOrenddate);
        sb.append(", ushOrreq=").append(ushOrreq);
        sb.append(", ushOrprice=").append(ushOrprice);
        sb.append(", ushOrpay=").append(ushOrpay);
        sb.append(", ushOrstate=").append(ushOrstate);
        sb.append(", ushOrdesc=").append(ushOrdesc);
        sb.append(", ushOramount=").append(ushOramount);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}